package bishi.day20_5_17;

import java.util.Collections;
import java.util.Scanner;

/**
 * 字符串反转
 * @author 是阿秋啊
 * @date 2022/05/17 16:54
 **/
public class String_reverse {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        StringBuilder s = new StringBuilder(sc.nextLine());
        System.out.println(s.reverse());
    }
}